.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* Space between image and text */
    padding: 4rem 2rem; /* Add some spacing around the content */
}

.about-image {
    margin-bottom: 200px;
    width: 30%; /* Adjust as needed */
    height: 400px; /* Adjust height */
}

.about-image img {
    margin-bottom: 200px;
    width: 100%; /* Adjust as needed */
    background: rgba(16, 20, 21, 0.8); /* Dark semi-transparent */
    backdrop-filter: sepia(20);
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.3); /* Glow effect */
}

.about-text {
    margin-top: 150px;
    width: 40%; /* Adjust as needed */
    background: rgba(16, 20, 21, 0.8); /* Match the image background */
    backdrop-filter: sepia(20);
    border-radius: 10px; /* Rounded corners */
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.3); /* Glow effect */
    color: #00ffe1; /* Text color matching the theme */
    font-size: 1rem;
    line-height: 1.6;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 255, 225, 0.5), 0 0 10px rgba(0, 255, 225, 0.3);
}

@media (max-width: 1075px) {

    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        gap: 2rem; /* Reduce the gap between elements */
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
    }

    .about-image {
        margin-bottom: 0; /* Remove extra bottom margin */
        width: 30%; /* Allow the image to occupy more space */
        height: auto; /* Let the height adjust to the aspect ratio */
    }

    .about-image img {
        margin-bottom: 0; /* Remove extra bottom margin */
        width: 100%; /* Ensure the image fits within its container */
        border-radius: 10px; /* Keep rounded corners */
        box-shadow: 0 0 10px rgba(0, 255, 225, 0.3); /* Reduce glow for subtlety */
    }
    
    .about-text {
        margin-top: 0; /* Remove extra top margin */
        width: 90%; /* Expand the text box width */
        padding: .9rem; /* Adjust padding for better readability */
        font-size: 0.8rem; /* Scale down font size slightly */
        line-height: 1.4; /* Adjust line height for smaller screens */
    }
}

@media (max-width: 800px) {
    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        gap: 2rem; /* Reduce the gap between elements */
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
    }

    .about-image {
        margin-bottom: 0; /* Remove extra bottom margin */
        width: 60%; /* Allow the image to occupy more space */
        height: auto; /* Let the height adjust to the aspect ratio */
    }

    .about-image img {
        margin-bottom: 0; /* Remove extra bottom margin */
        width: 100%; /* Ensure the image fits within its container */
        border-radius: 10px; /* Keep rounded corners */
        box-shadow: 0 0 10px rgba(0, 255, 225, 0.3); /* Reduce glow for subtlety */
    }

    .about-text {
        margin-top: 0; /* Remove extra top margin */
        width: 90%; /* Expand the text box width */
        padding: 1.5rem; /* Adjust padding for better readability */
        font-size: 0.8rem; /* Scale down font size slightly */
        line-height: 1.4; /* Adjust line height for smaller screens */
    }

    .about-title {
        font-size: 1.5rem; /* Scale down the title size */
        margin-bottom: 0.5rem; /* Reduce space below the title */
        text-align: center; /* Keep the title centered */
    }
}
